package
{
	import flash.display.Sprite;
	public class Cuboid extends Sprite
	{
		public function Cuboid(Color:uint)
		{
			init(Color)
		}
		private function init(Color:uint):void
		{
	      var ogold:Sprite=new Sprite()
		  ogold.graphics.beginFill(Color)
		  ogold.graphics.drawRect(0,0,40,40)
		  ogold.graphics.lineStyle(2,0xff00ff)
		  ogold.graphics.endFill();
		  addChild(ogold)
		}
	}
}